﻿using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

namespace PRE.Demo
{
    public partial class XRDemoReport : DevExpress.XtraReports.UI.XtraReport
    {
        public XRDemoReport()
        {
            InitializeComponent();
        }

        public void DataBingding()
        {
            MaHV.DataBindings.Add("Text", DataSource, "MaHV");
            Hoten.DataBindings.Add("Text", DataSource, "Hoten");
            Sex.DataBindings.Add("Text", DataSource, "Sex");
            Namsinh.DataBindings.Add("Text", DataSource, "Namsinh");
            Dienthoai.DataBindings.Add("Text", DataSource, "Dienthoai");
            Diachi.DataBindings.Add("Text", DataSource, "Diachi");
        }
    }
}
